package com.yl.chainStore.mapper.pay

import com.yl.chainStore.entity.pay.PayOrderRefundLog
import com.baomidou.mybatisplus.core.mapper.BaseMapper
import com.yl.chainStore.pojo.dto.statistical.MoneyByDay
import com.yl.chainStore.pojo.dto.statistical.PaySumMoneyForDayDto
import com.yl.chainStore.pojo.vo.statistical.DailyCheckForSelectVo
import com.yl.chainStore.pojo.vo.statistical.IncomeSummarySelectVo
import com.yl.chainStore.pojo.vo.statistical.ReconciliationSelectVo
import org.apache.ibatis.annotations.Mapper
import org.apache.ibatis.annotations.Param

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author cxw
 * @since 2021-11-09
 */
@Mapper
interface PayOrderRefundLogMapper : BaseMapper<PayOrderRefundLog>{

	/**
	 * 每日退款总额
	 */
	fun getOrderRefundSumMoneyByDay(@Param("vo")vo: ReconciliationSelectVo):List<PaySumMoneyForDayDto>

	/**
	 * 日期 - 退款金额
	 */
	fun getCustomerOrderRefundByDay(@Param("vo")vo: IncomeSummarySelectVo):List<MoneyByDay>



}
